package com.tedu.weibo.pojo.entity;

import lombok.*;
import org.springframework.stereotype.Repository;

import java.util.Date;

/*@Getter
@Setter
@ToString*/

@Data//get,set,toString
public class User {
    /*id INT PRIMARY KEY AUTO_INCREMENT,
    username VARCHAR(30),
    password VARCHAR(30),
    nickname VARCHAR(30),
    created TIMESTAMP*/
    private Integer id;
    private String username;
    private String password;
    private String nickname;
    private Date created;

}
